package com.wudi.ConcreteFactory;

import com.wudi.*;
import com.wudi.ConcreteProduct.Sansum.ConcreteProductSumEarphone;
import com.wudi.ConcreteProduct.Sansum.ConcreteProductSumLaptop;
import com.wudi.ConcreteProduct.Sansum.ConcreteProductSumPad;
import com.wudi.ConcreteProduct.Sansum.ConcreteProductSumPhone;


public class FactorySansum implements IAbstractFactory {
    @Override
    public AbstractProductPhone createProductPhone() {
        return new ConcreteProductSumPhone();
    }

    @Override
    public AbstractProductLaptop createProductLaptop() {
        return new ConcreteProductSumLaptop();
    }

    @Override
    public AbstractProductPad createProductPad() {
        return new ConcreteProductSumPad();
    }

    @Override
    public AbstractProductEarphone createProductEarphone() {
        return new ConcreteProductSumEarphone();
    }

}
